package lab02.test15;

public class test15 {
    public static void main(String[] args) {
        Graduate zhangSan = new Graduate();
        zhangSan.name = "邓";
        zhangSan.sex = "男";
        zhangSan.age = 22;
        zhangSan.pay = 2000;
        zhangSan.fee = 1000;
        System.out.println(zhangSan);
        System.out.println("工资:" + zhangSan.getPay());
        System.out.println("学费:" + zhangSan.getFee());
        zhangSan.judegePay();
    }
}
